package app.maker.stock.intf;

import java.util.List;

import javax.ejb.Local;

import app.maker.entity.Entrepot;
import app.maker.error.EntrepotException;

@Local
public interface IEntrepot {
	public int updateEntrepot(Entrepot entrepot) throws EntrepotException;

	public void deleteEntrepot(Entrepot entrepot) throws EntrepotException;

	public Entrepot getEntrepot(int id) throws EntrepotException;
	
	public Entrepot getEntrepotByName(String name) throws EntrepotException;

	public List<Entrepot> getAllEntrepot();
}
